#include "cppTutorUnion.h"

#include <iostream>

using namespace std;

CcppTutorUnion :: CcppTutorUnion()
{
}

CcppTutorUnion :: ~CcppTutorUnion()
{
}

void CcppTutorUnion :: m_GetUnionSize ()
{
	cout << "sizeof(Packed) = " << sizeof(Packed) << endl;
	Packed x;
	x.i = 'c';
	cout << x.i << endl;
	x.d = 3.14159;
	cout << x.d << endl;
}